<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input name="type" class="form-control" type="hidden" value="0"/>
                        <input name="residues" class="form-control" type="hidden" value=""/>
                        <div class="form-group">
                            <label class="col-sm-3 control-label" style="color:darkred;font-size: 16px"
                                   th:text="${'单价：'+money+'元/天'}"></label>
                            <input type="hidden" id="money" th:value="${money}"/>
                        </div>
                          <input th:if="${type==1}" name="orgId" class="form-control" type="hidden" th:value="${orgRole.id}">
                        <div class="form-group" th:if="${type==0}">
                            <label class="col-sm-3 control-label">岗位机构：</label>
                            <div class="col-sm-8">
                                <select  name="orgId" class="form-control">
                                    <option value="">请选择机构</option>
                                    <option th:each="item : ${orgRole}" th:value="${item.id}"
                                            th:text="${item.name}"></option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">置顶时长（天）：</label>
                            <div class="col-sm-8">
                                <input id="topDuration" name="topDuration" class="form-control" type="number">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">开始时间：</label>
                            <div class="col-sm-8">
                                <input id="startTime" name="startTime" class="form-control" type="text"
                                       onclick="WdatePicker({minDate: '%y-%M-#{%d}',dateFmt:'yyyy-MM-dd HH:mm:ss' })">
                            </div>
                        </div>
                        <div class="form-group" id="payShow" style="display: none">
                            <label class="col-sm-3 control-label">一共需要支付</label>
                            <div class="col-sm-8" id="allMoney" style="font-size: 18px;color: darkred"></div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">立即支付</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="isTop" style="display: none;text-align: center;font-size: 16px">
    <div>订单将在2个小时后关闭，请及时支付</div>
    <div>请使用微信扫一扫完成支付</div>
    <div class="mar20">
        <img src="" id="img" style="width:400px;height:400px">
    </div>
</div>
<div th:include="include::footer"></div>
<script src="//s.xlongwei.com/res/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/js/webJs/jzweb/recruitmentTop/isTop.js">
</script>
</body>
</html>
